//------------------------------------------------------------------------------
// includes
//------------------------------------------------------------------------------
#ifndef __INC_device_server_H
#define __INC_device_server_H
#include "lw_oopc.h"
#include "stdint.h"
//------------------------------------------------------------------------------
// check for correct compilation options
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
// const defines
//------------------------------------------------------------------------------
#define DVS_TEST		0
#define DVS_KTZ3		1
#define DVS_NONE		0xff

#define TEST_DVS		0

//------------------------------------------------------------------------------
// typedef
//------------------------------------------------------------------------------
ABS_CLASS(Device_server)
{
	
	
	int (*init)(Device_server *self);
	
	int (*data_down)(Device_server *self, int data_src, void *data_buf, int data_len);
//	int (*data_up)(void *data_buf, int data_len);

	void (*run)(Device_server *self);
	
};
//------------------------------------------------------------------------------
// global variable declarations
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
// function prototypes
//------------------------------------------------------------------------------
Device_server *DVS_get_dev_service(int dvs_type);

#endif
